<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>扇子</title>
    <style>
      div {
        width: 600px;
        height: 600px;
        border: solid;
        margin: 50px auto;
        position: relative;
      }

      section {
        width: 20px;
        height: 100px;
        background-color: red;
        position: absolute;
        top: 200px;
        left: 50%;
        transition: 1s;
        transform-origin: 50% 100%;
      }

      .red {
        background-color: red;
      }
      .yellow {
        background-color: yellow;
      }
      .blue {
        background-color: blue;
      }
      .green {
        background-color: green;
      }
      .orange {
        background-color: orange;
      }

      div:hover .red {
        transform: rotate(10deg);
      }
      div:hover .yellow {
        transform: rotate(20deg);
      }
      div:hover .blue {
        transform: rotate(30deg);
      }
      div:hover .green {
        transform: rotate(40deg);
      }
      div:hover .orange {
        transform: rotate(50deg);
      }
    </style>
  </head>
  <body>
    <div>
      <section class="red"></section>
      <section class="yellow"></section>
      <section class="blue"></section>
      <section class="green"></section>
      <section class="orange"></section>
    </div>
  </body>
</html>
